package cn.hk.vaccination.mapper;

import cn.hk.vaccination.domain.SubscribeDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 预约设置明细表（各种时间段放号数） Mapper 接口
 * </p>
 *
 * @author xu
 * @since 2023-03-23
 */
@DataSource(DataSourceType.KELIN)
public interface SubscribeDetailMapper extends BaseMapper<SubscribeDetail> {


    List<SubscribeDetail> selectListBySubscribeSettingId(@Param("subscribeSettingId") Long subscribeSettingId);

    SubscribeDetail selectOneById(@Param("id") Long id);

    Boolean updateOneById(SubscribeDetail subscribeDetail2AmValue);
}
